package com.ruoyi.information.domain.back;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 资讯对象 article
 *
 * @author ruoyi
 * @date 2023-05-02
 */
public class ArticleBack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 文章类型 */
    @Excel(name = "文章类型")
    private String articleType;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 发布用户 */
    @Excel(name = "发布用户")
    private String releaseName;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 链接类型1富文本2、外链 */
    @Excel(name = "链接类型1富文本2、外链")
    private Long linkType;

    /** 链接值 */
    @Excel(name = "链接值")
    private String linkVal;

    /** 内容 */
    @Excel(name = "内容")
    private String intro;

    /** 发布人ID：用户表ID */
    @Excel(name = "发布人ID：用户表ID")
    private Long governId;

    /** 文件 */
    @Excel(name = "文件")
    private String downloadUrl;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态0有效1失效 */
    @Excel(name = "状态0有效1失效")
    private Long state;

    /** 是否删除0否1是 */
    @Excel(name = "是否删除0否1是")
    private Long dr;

    /** 浏览次数 */
    @Excel(name = "浏览次数")
    private Long num;

    /**  */
    @Excel(name = "")
    private String cover;

    private Integer auditState;

    private String remark;


    public Integer getAuditState() {
        return auditState;
    }

    public void setAuditState(Integer auditState) {
        this.auditState = auditState;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setArticleType(String articleType)
    {
        this.articleType = articleType;
    }

    public String getArticleType()
    {
        return articleType;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setReleaseName(String releaseName)
    {
        this.releaseName = releaseName;
    }

    public String getReleaseName()
    {
        return releaseName;
    }
    public void setReleaseTime(Date releaseTime)
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime()
    {
        return releaseTime;
    }
    public void setLinkType(Long linkType)
    {
        this.linkType = linkType;
    }

    public Long getLinkType()
    {
        return linkType;
    }
    public void setLinkVal(String linkVal)
    {
        this.linkVal = linkVal;
    }

    public String getLinkVal()
    {
        return linkVal;
    }
    public void setIntro(String intro)
    {
        this.intro = intro;
    }

    public String getIntro()
    {
        return intro;
    }
    public void setGovernId(Long governId)
    {
        this.governId = governId;
    }

    public Long getGovernId()
    {
        return governId;
    }
    public void setDownloadUrl(String downloadUrl)
    {
        this.downloadUrl = downloadUrl;
    }

    public String getDownloadUrl()
    {
        return downloadUrl;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setDr(Long dr)
    {
        this.dr = dr;
    }

    public Long getDr()
    {
        return dr;
    }
    public void setNum(Long num)
    {
        this.num = num;
    }

    public Long getNum()
    {
        return num;
    }
    public void setCover(String cover)
    {
        this.cover = cover;
    }

    public String getCover()
    {
        return cover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleType", getArticleType())
            .append("title", getTitle())
            .append("releaseName", getReleaseName())
            .append("releaseTime", getReleaseTime())
            .append("linkType", getLinkType())
            .append("linkVal", getLinkVal())
            .append("intro", getIntro())
            .append("governId", getGovernId())
            .append("downloadUrl", getDownloadUrl())
            .append("note", getNote())
            .append("sort", getSort())
            .append("state", getState())
            .append("dr", getDr())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("num", getNum())
            .append("cover", getCover())
            .toString();
    }
}
